.class Lcom/estrongs/android/pop/app/editor/SimplePopNoteEditor$t;
.super Ljava/lang/Thread;
.source "SimplePopNoteEditor.java"


# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
    value = Lcom/estrongs/android/pop/app/editor/SimplePopNoteEditor;
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x2
    name = "t"
.end annotation


# instance fields
.field private a:Ljava/lang/StringBuilder;

.field private b:I

.field private c:Z

.field final synthetic d:Lcom/estrongs/android/pop/app/editor/SimplePopNoteEditor;


# direct methods
.method public constructor <init>(Lcom/estrongs/android/pop/app/editor/SimplePopNoteEditor;IZ)V
    .locals 3

    .line 1
    iput-object p1, p0, Lcom/estrongs/android/pop/app/editor/SimplePopNoteEditor$t;->d:Lcom/estrongs/android/pop/app/editor/SimplePopNoteEditor;

    invoke-direct {p0}, Ljava/lang/Thread;-><init>()V

    const/4 v0, 0x0

    .line 2
    iput-object v0, p0, Lcom/estrongs/android/pop/app/editor/SimplePopNoteEditor$t;->a:Ljava/lang/StringBuilder;

    const/4 v0, 0x0

    .line 3
    iput v0, p0, Lcom/estrongs/android/pop/app/editor/SimplePopNoteEditor$t;->b:I

    .line 4
    iput-boolean v0, p0, Lcom/estrongs/android/pop/app/editor/SimplePopNoteEditor$t;->c:Z

    .line 5
    :try_start_0
    invoke-static {p1}, Lcom/estrongs/android/pop/app/editor/SimplePopNoteEditor;->r(Lcom/estrongs/android/pop/app/editor/SimplePopNoteEditor;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-static {p1}, Lcom/estrongs/android/pop/app/editor/SimplePopNoteEditor;->r(Lcom/estrongs/android/pop/app/editor/SimplePopNoteEditor;)Ljava/lang/StringBuilder;

    move-result-object v2

    invoke-virtual {v2}, Ljava/lang/StringBuilder;->length()I

    move-result v2

    invoke-virtual {v1, v0, v2}, Ljava/lang/StringBuilder;->delete(II)Ljava/lang/StringBuilder;
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0

    .line 6
    :catch_0
    new-instance v1, Ljava/lang/StringBuilder;

    invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V

    iput-object v1, p0, Lcom/estrongs/android/pop/app/editor/SimplePopNoteEditor$t;->a:Ljava/lang/StringBuilder;

    .line 7
    invoke-static {p1, v0}, Lcom/estrongs/android/pop/app/editor/SimplePopNoteEditor;->c(Lcom/estrongs/android/pop/app/editor/SimplePopNoteEditor;I)I

    .line 8
    iput p2, p0, Lcom/estrongs/android/pop/app/editor/SimplePopNoteEditor$t;->b:I

    .line 9
    iput-boolean p3, p0, Lcom/estrongs/android/pop/app/editor/SimplePopNoteEditor$t;->c:Z

    return-void
.end method


# virtual methods
.method public run()V
    .locals 18

    move-object/from16 v1, p0

    .line 1
    iget-object v0, v1, Lcom/estrongs/android/pop/app/editor/SimplePopNoteEditor$t;->d:Lcom/estrongs/android/pop/app/editor/SimplePopNoteEditor;

    invoke-static {v0}, Lcom/estrongs/android/pop/app/editor/SimplePopNoteEditor;->q(Lcom/estrongs/android/pop/app/editor/SimplePopNoteEditor;)Ljava/lang/Object;

    move-result-object v2

    monitor-enter v2

    .line 2
    :try_start_0
    iget-object v0, v1, Lcom/estrongs/android/pop/app/editor/SimplePopNoteEditor$t;->d:Lcom/estrongs/android/pop/app/editor/SimplePopNoteEditor;

    invoke-static {v0}, Lcom/estrongs/android/pop/app/editor/SimplePopNoteEditor;->j(Lcom/estrongs/android/pop/app/editor/SimplePopNoteEditor;)V

    .line 3
    iget-boolean v0, v1, Lcom/estrongs/android/pop/app/editor/SimplePopNoteEditor$t;->c:Z

    if-eqz v0, :cond_0

    .line 4
    iget-object v0, v1, Lcom/estrongs/android/pop/app/editor/SimplePopNoteEditor$t;->d:Lcom/estrongs/android/pop/app/editor/SimplePopNoteEditor;

    iget-object v3, v1, Lcom/estrongs/android/pop/app/editor/SimplePopNoteEditor$t;->d:Lcom/estrongs/android/pop/app/editor/SimplePopNoteEditor;

    invoke-static {v3}, Lcom/estrongs/android/pop/app/editor/SimplePopNoteEditor;->k(Lcom/estrongs/android/pop/app/editor/SimplePopNoteEditor;)Lcom/estrongs/android/pop/app/editor/c;

    move-result-object v3

    invoke-virtual {v3}, Lcom/estrongs/android/pop/app/editor/c;->c()Ljava/lang/String;

    move-result-object v3

    invoke-static {v0, v3}, Lcom/estrongs/android/pop/app/editor/SimplePopNoteEditor;->a(Lcom/estrongs/android/pop/app/editor/SimplePopNoteEditor;Ljava/lang/String;)Ljava/lang/String;

    .line 5
    :cond_0
    iget-object v0, v1, Lcom/estrongs/android/pop/app/editor/SimplePopNoteEditor$t;->d:Lcom/estrongs/android/pop/app/editor/SimplePopNoteEditor;

    invoke-static {v0}, Lcom/estrongs/android/pop/app/editor/SimplePopNoteEditor;->m(Lcom/estrongs/android/pop/app/editor/SimplePopNoteEditor;)Lcom/estrongs/android/pop/app/editor/b;

    move-result-object v0
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_3
    .catchall {:try_start_0 .. :try_end_0} :catchall_0

    if-eqz v0, :cond_1

    .line 6
    :try_start_1
    iget-object v0, v1, Lcom/estrongs/android/pop/app/editor/SimplePopNoteEditor$t;->d:Lcom/estrongs/android/pop/app/editor/SimplePopNoteEditor;

    invoke-static {v0}, Lcom/estrongs/android/pop/app/editor/SimplePopNoteEditor;->m(Lcom/estrongs/android/pop/app/editor/SimplePopNoteEditor;)Lcom/estrongs/android/pop/app/editor/b;

    move-result-object v0

    invoke-virtual {v0}, Lcom/estrongs/android/pop/app/editor/b;->close()V
    :try_end_1
    .catch Ljava/lang/Exception; {:try_start_1 .. :try_end_1} :catch_0
    .catchall {:try_start_1 .. :try_end_1} :catchall_0

    goto :goto_0

    :catch_0
    move-exception v0

    .line 7
    :try_start_2
    invoke-virtual {v0}, Ljava/lang/Exception;->printStackTrace()V

    .line 8
    :cond_1
    :goto_0
    iget-object v0, v1, Lcom/estrongs/android/pop/app/editor/SimplePopNoteEditor$t;->d:Lcom/estrongs/android/pop/app/editor/SimplePopNoteEditor;

    const/4 v3, 0x0

    invoke-static {v0, v3}, Lcom/estrongs/android/pop/app/editor/SimplePopNoteEditor;->c(Lcom/estrongs/android/pop/app/editor/SimplePopNoteEditor;Ljava/lang/String;)Ljava/lang/String;

    .line 9
    iget-object v0, v1, Lcom/estrongs/android/pop/app/editor/SimplePopNoteEditor$t;->d:Lcom/estrongs/android/pop/app/editor/SimplePopNoteEditor;

    new-instance v3, Lcom/estrongs/android/pop/app/editor/b;

    iget-object v4, v1, Lcom/estrongs/android/pop/app/editor/SimplePopNoteEditor$t;->d:Lcom/estrongs/android/pop/app/editor/SimplePopNoteEditor;

    invoke-static {v4}, Lcom/estrongs/android/pop/app/editor/SimplePopNoteEditor;->c(Lcom/estrongs/android/pop/app/editor/SimplePopNoteEditor;)Landroid/content/Context;

    move-result-object v4

    iget-object v5, v1, Lcom/estrongs/android/pop/app/editor/SimplePopNoteEditor$t;->d:Lcom/estrongs/android/pop/app/editor/SimplePopNoteEditor;

    invoke-static {v5}, Lcom/estrongs/android/pop/app/editor/SimplePopNoteEditor;->s(Lcom/estrongs/android/pop/app/editor/SimplePopNoteEditor;)Ljava/io/File;

    move-result-object v5

    iget-object v6, v1, Lcom/estrongs/android/pop/app/editor/SimplePopNoteEditor$t;->d:Lcom/estrongs/android/pop/app/editor/SimplePopNoteEditor;

    invoke-static {v6}, Lcom/estrongs/android/pop/app/editor/SimplePopNoteEditor;->h(Lcom/estrongs/android/pop/app/editor/SimplePopNoteEditor;)Ljava/lang/String;

    move-result-object v6

    invoke-direct {v3, v4, v5, v6}, Lcom/estrongs/android/pop/app/editor/b;-><init>(Landroid/content/Context;Ljava/io/File;Ljava/lang/String;)V

    invoke-static {v0, v3}, Lcom/estrongs/android/pop/app/editor/SimplePopNoteEditor;->a(Lcom/estrongs/android/pop/app/editor/SimplePopNoteEditor;Lcom/estrongs/android/pop/app/editor/b;)Lcom/estrongs/android/pop/app/editor/b;

    const/16 v3, 0x1000

    new-array v4, v3, [C

    const-wide/16 v5, 0x0

    .line 10
    iget v0, v1, Lcom/estrongs/android/pop/app/editor/SimplePopNoteEditor$t;->b:I

    int-to-long v7, v0

    iget-object v0, v1, Lcom/estrongs/android/pop/app/editor/SimplePopNoteEditor$t;->d:Lcom/estrongs/android/pop/app/editor/SimplePopNoteEditor;

    invoke-static {v0}, Lcom/estrongs/android/pop/app/editor/SimplePopNoteEditor;->z(Lcom/estrongs/android/pop/app/editor/SimplePopNoteEditor;)J

    move-result-wide v9

    mul-long v7, v7, v9

    const-wide/16 v9, 0x64

    div-long/2addr v7, v9

    const-wide/32 v9, 0xc000

    sub-long/2addr v7, v9

    .line 11
    iget-object v0, v1, Lcom/estrongs/android/pop/app/editor/SimplePopNoteEditor$t;->d:Lcom/estrongs/android/pop/app/editor/SimplePopNoteEditor;

    invoke-static {v0}, Lcom/estrongs/android/pop/app/editor/SimplePopNoteEditor;->w(Lcom/estrongs/android/pop/app/editor/SimplePopNoteEditor;)Lcom/estrongs/android/pop/app/editor/e;

    move-result-object v0

    invoke-virtual {v0, v7, v8}, Lcom/estrongs/android/pop/app/editor/e;->a(J)Lcom/estrongs/android/pop/app/editor/e$a;

    move-result-object v0
    :try_end_2
    .catch Ljava/lang/Exception; {:try_start_2 .. :try_end_2} :catch_3
    .catchall {:try_start_2 .. :try_end_2} :catchall_0

    if-eqz v0, :cond_2

    .line 12
    :try_start_3
    iget-object v9, v1, Lcom/estrongs/android/pop/app/editor/SimplePopNoteEditor$t;->d:Lcom/estrongs/android/pop/app/editor/SimplePopNoteEditor;

    invoke-static {v9}, Lcom/estrongs/android/pop/app/editor/SimplePopNoteEditor;->m(Lcom/estrongs/android/pop/app/editor/SimplePopNoteEditor;)Lcom/estrongs/android/pop/app/editor/b;

    move-result-object v9

    iget-wide v10, v0, Lcom/estrongs/android/pop/app/editor/e$a;->b:J

    invoke-virtual {v9, v10, v11}, Lcom/estrongs/android/pop/app/editor/b;->b(J)V

    .line 13
    iget-object v9, v1, Lcom/estrongs/android/pop/app/editor/SimplePopNoteEditor$t;->d:Lcom/estrongs/android/pop/app/editor/SimplePopNoteEditor;

    iget v0, v0, Lcom/estrongs/android/pop/app/editor/e$a;->a:I

    invoke-static {v9, v0}, Lcom/estrongs/android/pop/app/editor/SimplePopNoteEditor;->c(Lcom/estrongs/android/pop/app/editor/SimplePopNoteEditor;I)I
    :try_end_3
    .catch Ljava/lang/Exception; {:try_start_3 .. :try_end_3} :catch_1
    .catchall {:try_start_3 .. :try_end_3} :catchall_0

    goto :goto_1

    :catch_1
    move-exception v0

    .line 14
    :try_start_4
    invoke-virtual {v0}, Ljava/lang/Exception;->printStackTrace()V
    :try_end_4
    .catch Ljava/lang/Exception; {:try_start_4 .. :try_end_4} :catch_3
    .catchall {:try_start_4 .. :try_end_4} :catchall_0

    .line 15
    :try_start_5
    iget-object v0, v1, Lcom/estrongs/android/pop/app/editor/SimplePopNoteEditor$t;->d:Lcom/estrongs/android/pop/app/editor/SimplePopNoteEditor;

    invoke-static {v0}, Lcom/estrongs/android/pop/app/editor/SimplePopNoteEditor;->m(Lcom/estrongs/android/pop/app/editor/SimplePopNoteEditor;)Lcom/estrongs/android/pop/app/editor/b;

    move-result-object v0

    invoke-virtual {v0}, Lcom/estrongs/android/pop/app/editor/b;->close()V
    :try_end_5
    .catch Ljava/io/IOException; {:try_start_5 .. :try_end_5} :catch_2
    .catch Ljava/lang/Exception; {:try_start_5 .. :try_end_5} :catch_3
    .catchall {:try_start_5 .. :try_end_5} :catchall_0

    goto :goto_1

    :catch_2
    move-exception v0

    .line 16
    :try_start_6
    invoke-virtual {v0}, Ljava/io/IOException;->printStackTrace()V

    .line 17
    :cond_2
    :goto_1
    iget-object v0, v1, Lcom/estrongs/android/pop/app/editor/SimplePopNoteEditor$t;->d:Lcom/estrongs/android/pop/app/editor/SimplePopNoteEditor;

    invoke-static {v0}, Lcom/estrongs/android/pop/app/editor/SimplePopNoteEditor;->m(Lcom/estrongs/android/pop/app/editor/SimplePopNoteEditor;)Lcom/estrongs/android/pop/app/editor/b;

    move-result-object v0

    invoke-virtual {v0, v4}, Ljava/io/Reader;->read([C)I

    move-result v0

    const-wide/high16 v9, 0x4059000000000000L    # 100.0

    const/4 v11, 0x0

    if-gez v0, :cond_3

    goto :goto_2

    .line 18
    :cond_3
    iget-object v5, v1, Lcom/estrongs/android/pop/app/editor/SimplePopNoteEditor$t;->d:Lcom/estrongs/android/pop/app/editor/SimplePopNoteEditor;

    invoke-static {v5}, Lcom/estrongs/android/pop/app/editor/SimplePopNoteEditor;->m(Lcom/estrongs/android/pop/app/editor/SimplePopNoteEditor;)Lcom/estrongs/android/pop/app/editor/b;

    move-result-object v5

    invoke-virtual {v5}, Lcom/estrongs/android/pop/app/editor/b;->getPosition()J

    move-result-wide v5

    .line 19
    iget-object v12, v1, Lcom/estrongs/android/pop/app/editor/SimplePopNoteEditor$t;->d:Lcom/estrongs/android/pop/app/editor/SimplePopNoteEditor;

    invoke-static {v12}, Lcom/estrongs/android/pop/app/editor/SimplePopNoteEditor;->u(Lcom/estrongs/android/pop/app/editor/SimplePopNoteEditor;)I

    if-ne v0, v3, :cond_4

    .line 20
    iget-object v12, v1, Lcom/estrongs/android/pop/app/editor/SimplePopNoteEditor$t;->d:Lcom/estrongs/android/pop/app/editor/SimplePopNoteEditor;

    invoke-static {v12}, Lcom/estrongs/android/pop/app/editor/SimplePopNoteEditor;->w(Lcom/estrongs/android/pop/app/editor/SimplePopNoteEditor;)Lcom/estrongs/android/pop/app/editor/e;

    move-result-object v12

    iget-object v13, v1, Lcom/estrongs/android/pop/app/editor/SimplePopNoteEditor$t;->d:Lcom/estrongs/android/pop/app/editor/SimplePopNoteEditor;

    invoke-static {v13}, Lcom/estrongs/android/pop/app/editor/SimplePopNoteEditor;->t(Lcom/estrongs/android/pop/app/editor/SimplePopNoteEditor;)I

    move-result v13

    invoke-virtual {v12, v13, v5, v6}, Lcom/estrongs/android/pop/app/editor/e;->a(IJ)V

    :cond_4
    cmp-long v12, v5, v7

    if-ltz v12, :cond_5

    .line 21
    iget-object v12, v1, Lcom/estrongs/android/pop/app/editor/SimplePopNoteEditor$t;->a:Ljava/lang/StringBuilder;

    invoke-virtual {v12, v4, v11, v0}, Ljava/lang/StringBuilder;->append([CII)Ljava/lang/StringBuilder;

    .line 22
    iget-object v12, v1, Lcom/estrongs/android/pop/app/editor/SimplePopNoteEditor$t;->a:Ljava/lang/StringBuilder;

    invoke-virtual {v12}, Ljava/lang/StringBuilder;->length()I

    move-result v12

    const/16 v13, 0x3000

    if-le v12, v13, :cond_5

    .line 23
    iget-object v12, v1, Lcom/estrongs/android/pop/app/editor/SimplePopNoteEditor$t;->a:Ljava/lang/StringBuilder;

    invoke-virtual {v12, v11, v3}, Ljava/lang/StringBuilder;->delete(II)Ljava/lang/StringBuilder;

    :cond_5
    long-to-double v5, v5

    .line 24
    iget-object v12, v1, Lcom/estrongs/android/pop/app/editor/SimplePopNoteEditor$t;->d:Lcom/estrongs/android/pop/app/editor/SimplePopNoteEditor;

    invoke-static {v12}, Lcom/estrongs/android/pop/app/editor/SimplePopNoteEditor;->z(Lcom/estrongs/android/pop/app/editor/SimplePopNoteEditor;)J

    move-result-wide v12
    :try_end_6
    .catch Ljava/lang/Exception; {:try_start_6 .. :try_end_6} :catch_3
    .catchall {:try_start_6 .. :try_end_6} :catchall_0

    long-to-double v12, v12

    invoke-static {v5, v6}, Ljava/lang/Double;->isNaN(D)Z

    invoke-static {v12, v13}, Ljava/lang/Double;->isNaN(D)Z

    div-double/2addr v5, v12

    mul-double v5, v5, v9

    .line 25
    :try_start_7
    iget v12, v1, Lcom/estrongs/android/pop/app/editor/SimplePopNoteEditor$t;->b:I

    int-to-double v12, v12

    cmpl-double v14, v5, v12

    if-ltz v14, :cond_2

    :goto_2
    if-gez v0, :cond_6

    move-wide v5, v9

    .line 26
    :cond_6
    iget-object v0, v1, Lcom/estrongs/android/pop/app/editor/SimplePopNoteEditor$t;->d:Lcom/estrongs/android/pop/app/editor/SimplePopNoteEditor;

    invoke-static {v0}, Lcom/estrongs/android/pop/app/editor/SimplePopNoteEditor;->r(Lcom/estrongs/android/pop/app/editor/SimplePopNoteEditor;)Ljava/lang/StringBuilder;

    move-result-object v0

    iget-object v3, v1, Lcom/estrongs/android/pop/app/editor/SimplePopNoteEditor$t;->a:Ljava/lang/StringBuilder;

    invoke-virtual {v3}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v3

    invoke-virtual {v0, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    .line 27
    iget-object v0, v1, Lcom/estrongs/android/pop/app/editor/SimplePopNoteEditor$t;->d:Lcom/estrongs/android/pop/app/editor/SimplePopNoteEditor;

    invoke-static {v0}, Lcom/estrongs/android/pop/app/editor/SimplePopNoteEditor;->t(Lcom/estrongs/android/pop/app/editor/SimplePopNoteEditor;)I

    move-result v0

    rsub-int/lit8 v0, v0, 0x3

    const/4 v3, 0x0

    :goto_3
    if-ge v3, v0, :cond_8

    .line 28
    iget-object v7, v1, Lcom/estrongs/android/pop/app/editor/SimplePopNoteEditor$t;->d:Lcom/estrongs/android/pop/app/editor/SimplePopNoteEditor;

    invoke-static {v7}, Lcom/estrongs/android/pop/app/editor/SimplePopNoteEditor;->m(Lcom/estrongs/android/pop/app/editor/SimplePopNoteEditor;)Lcom/estrongs/android/pop/app/editor/b;

    move-result-object v7

    invoke-virtual {v7, v4}, Ljava/io/Reader;->read([C)I

    move-result v7

    if-gez v7, :cond_7

    goto :goto_4

    .line 29
    :cond_7
    iget-object v8, v1, Lcom/estrongs/android/pop/app/editor/SimplePopNoteEditor$t;->d:Lcom/estrongs/android/pop/app/editor/SimplePopNoteEditor;

    invoke-static {v8}, Lcom/estrongs/android/pop/app/editor/SimplePopNoteEditor;->r(Lcom/estrongs/android/pop/app/editor/SimplePopNoteEditor;)Ljava/lang/StringBuilder;

    move-result-object v8

    invoke-virtual {v8, v4, v11, v7}, Ljava/lang/StringBuilder;->append([CII)Ljava/lang/StringBuilder;

    .line 30
    iget-object v7, v1, Lcom/estrongs/android/pop/app/editor/SimplePopNoteEditor$t;->d:Lcom/estrongs/android/pop/app/editor/SimplePopNoteEditor;

    invoke-static {v7}, Lcom/estrongs/android/pop/app/editor/SimplePopNoteEditor;->u(Lcom/estrongs/android/pop/app/editor/SimplePopNoteEditor;)I

    add-int/lit8 v3, v3, 0x1

    goto :goto_3

    .line 31
    :cond_8
    :goto_4
    iget v0, v1, Lcom/estrongs/android/pop/app/editor/SimplePopNoteEditor$t;->b:I
    :try_end_7
    .catch Ljava/lang/Exception; {:try_start_7 .. :try_end_7} :catch_3
    .catchall {:try_start_7 .. :try_end_7} :catchall_0

    int-to-double v3, v0

    invoke-static {v3, v4}, Ljava/lang/Double;->isNaN(D)Z

    sub-double/2addr v5, v3

    :try_start_8
    iget-object v0, v1, Lcom/estrongs/android/pop/app/editor/SimplePopNoteEditor$t;->d:Lcom/estrongs/android/pop/app/editor/SimplePopNoteEditor;

    invoke-static {v0}, Lcom/estrongs/android/pop/app/editor/SimplePopNoteEditor;->z(Lcom/estrongs/android/pop/app/editor/SimplePopNoteEditor;)J

    move-result-wide v3
    :try_end_8
    .catch Ljava/lang/Exception; {:try_start_8 .. :try_end_8} :catch_3
    .catchall {:try_start_8 .. :try_end_8} :catchall_0

    long-to-double v3, v3

    invoke-static {v3, v4}, Ljava/lang/Double;->isNaN(D)Z

    mul-double v5, v5, v3

    div-double/2addr v5, v9

    double-to-int v0, v5

    .line 32
    :try_start_9
    new-instance v3, Lcom/estrongs/android/pop/app/editor/SimplePopNoteEditor$v;

    iget-object v4, v1, Lcom/estrongs/android/pop/app/editor/SimplePopNoteEditor$t;->d:Lcom/estrongs/android/pop/app/editor/SimplePopNoteEditor;

    iget-object v5, v1, Lcom/estrongs/android/pop/app/editor/SimplePopNoteEditor$t;->d:Lcom/estrongs/android/pop/app/editor/SimplePopNoteEditor;

    invoke-static {v5}, Lcom/estrongs/android/pop/app/editor/SimplePopNoteEditor;->r(Lcom/estrongs/android/pop/app/editor/SimplePopNoteEditor;)Ljava/lang/StringBuilder;

    move-result-object v5

    invoke-virtual {v5}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v5

    iget-object v12, v1, Lcom/estrongs/android/pop/app/editor/SimplePopNoteEditor$t;->d:Lcom/estrongs/android/pop/app/editor/SimplePopNoteEditor;

    iget-object v6, v1, Lcom/estrongs/android/pop/app/editor/SimplePopNoteEditor$t;->d:Lcom/estrongs/android/pop/app/editor/SimplePopNoteEditor;

    .line 33
    invoke-static {v6}, Lcom/estrongs/android/pop/app/editor/SimplePopNoteEditor;->a(Lcom/estrongs/android/pop/app/editor/SimplePopNoteEditor;)Lcom/estrongs/android/pop/app/editor/ReaderTextView;

    move-result-object v13

    iget-object v6, v1, Lcom/estrongs/android/pop/app/editor/SimplePopNoteEditor$t;->d:Lcom/estrongs/android/pop/app/editor/SimplePopNoteEditor;

    invoke-static {v6}, Lcom/estrongs/android/pop/app/editor/SimplePopNoteEditor;->b(Lcom/estrongs/android/pop/app/editor/SimplePopNoteEditor;)Lcom/estrongs/android/pop/app/editor/ObservableScrollView;

    move-result-object v6

    invoke-virtual {v6}, Landroid/widget/ScrollView;->getHeight()I

    move-result v14

    iget-object v6, v1, Lcom/estrongs/android/pop/app/editor/SimplePopNoteEditor$t;->a:Ljava/lang/StringBuilder;

    invoke-virtual {v6}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v15

    iget-object v6, v1, Lcom/estrongs/android/pop/app/editor/SimplePopNoteEditor$t;->d:Lcom/estrongs/android/pop/app/editor/SimplePopNoteEditor;

    invoke-static {v6}, Lcom/estrongs/android/pop/app/editor/SimplePopNoteEditor;->h(Lcom/estrongs/android/pop/app/editor/SimplePopNoteEditor;)Ljava/lang/String;

    move-result-object v16

    move/from16 v17, v0

    invoke-static/range {v12 .. v17}, Lcom/estrongs/android/pop/app/editor/SimplePopNoteEditor;->a(Lcom/estrongs/android/pop/app/editor/SimplePopNoteEditor;Lcom/estrongs/android/pop/app/editor/ReaderTextView;ILjava/lang/String;Ljava/lang/String;I)I

    move-result v0

    invoke-direct {v3, v4, v5, v11, v0}, Lcom/estrongs/android/pop/app/editor/SimplePopNoteEditor$v;-><init>(Lcom/estrongs/android/pop/app/editor/SimplePopNoteEditor;Ljava/lang/String;II)V

    .line 34
    iget-object v0, v1, Lcom/estrongs/android/pop/app/editor/SimplePopNoteEditor$t;->d:Lcom/estrongs/android/pop/app/editor/SimplePopNoteEditor;

    invoke-static {v0}, Lcom/estrongs/android/pop/app/editor/SimplePopNoteEditor;->x(Lcom/estrongs/android/pop/app/editor/SimplePopNoteEditor;)Landroid/os/Handler;

    move-result-object v0

    invoke-virtual {v0, v11}, Landroid/os/Handler;->obtainMessage(I)Landroid/os/Message;

    move-result-object v0

    .line 35
    iput-object v3, v0, Landroid/os/Message;->obj:Ljava/lang/Object;

    .line 36
    iget-object v3, v1, Lcom/estrongs/android/pop/app/editor/SimplePopNoteEditor$t;->d:Lcom/estrongs/android/pop/app/editor/SimplePopNoteEditor;

    invoke-static {v3}, Lcom/estrongs/android/pop/app/editor/SimplePopNoteEditor;->x(Lcom/estrongs/android/pop/app/editor/SimplePopNoteEditor;)Landroid/os/Handler;

    move-result-object v3

    invoke-virtual {v3, v0}, Landroid/os/Handler;->sendMessage(Landroid/os/Message;)Z
    :try_end_9
    .catch Ljava/lang/Exception; {:try_start_9 .. :try_end_9} :catch_3
    .catchall {:try_start_9 .. :try_end_9} :catchall_0

    .line 37
    :try_start_a
    iget-object v0, v1, Lcom/estrongs/android/pop/app/editor/SimplePopNoteEditor$t;->d:Lcom/estrongs/android/pop/app/editor/SimplePopNoteEditor;

    :goto_5
    invoke-static {v0}, Lcom/estrongs/android/pop/app/editor/SimplePopNoteEditor;->y(Lcom/estrongs/android/pop/app/editor/SimplePopNoteEditor;)V
    :try_end_a
    .catchall {:try_start_a .. :try_end_a} :catchall_1

    goto :goto_6

    :catchall_0
    move-exception v0

    goto :goto_7

    .line 38
    :catch_3
    :try_start_b
    iget-object v0, v1, Lcom/estrongs/android/pop/app/editor/SimplePopNoteEditor$t;->d:Lcom/estrongs/android/pop/app/editor/SimplePopNoteEditor;

    const v3, 0x7f110734

    invoke-static {v0, v3}, Lcom/estrongs/android/pop/utils/i;->b(Landroid/content/Context;I)V
    :try_end_b
    .catchall {:try_start_b .. :try_end_b} :catchall_0

    .line 39
    :try_start_c
    iget-object v0, v1, Lcom/estrongs/android/pop/app/editor/SimplePopNoteEditor$t;->d:Lcom/estrongs/android/pop/app/editor/SimplePopNoteEditor;

    goto :goto_5

    .line 40
    :goto_6
    monitor-exit v2

    return-void

    .line 41
    :goto_7
    iget-object v3, v1, Lcom/estrongs/android/pop/app/editor/SimplePopNoteEditor$t;->d:Lcom/estrongs/android/pop/app/editor/SimplePopNoteEditor;

    invoke-static {v3}, Lcom/estrongs/android/pop/app/editor/SimplePopNoteEditor;->y(Lcom/estrongs/android/pop/app/editor/SimplePopNoteEditor;)V

    .line 42
    throw v0

    :catchall_1
    move-exception v0

    .line 43
    monitor-exit v2
    :try_end_c
    .catchall {:try_start_c .. :try_end_c} :catchall_1

    goto :goto_9

    :goto_8
    throw v0

    :goto_9
    goto :goto_8
.end method
